package tests

import objects.{Point, TrajSegment}

/**
  * Created by yang on 17-3-21.
  */
object test1 {
  def main(args: Array[String]) {
    val point1 = new Point(10.1,10)
    val point2 = new Point(20.13, 31.4)
    val ts = new TrajSegment(point1,point2,10000000,"First seg!")
    println(ts.end.x)
  }
}
